package Text;

public class text {
    public static void main(String[] args) {
        int a = 100;
        String s = Integer.toBinaryString(a);//转成二进制
        int i = Integer.parseInt(s);
        System.out.println(i);
        System.out.println(i+1);
    }
}
